ARM Assembly Language with Hardware Experiments by Ata Elahi & Trevor Arjeski

ARM Assembly Language with Hardware Experiments by Ata Elahi & Trevor Arjeski

Author:Ata Elahi & Trevor Arjeski
Language: eng
Format: epub
Publisher: Springer International Publishing, Cham


ADR Rd, Address

Example 4.2

The following instructions will read the address of data and then load the data into register R3

ADR R0, Table; Move address represented by Table

LDR R3, [R0]; R3 = 0x23456780

Address

Data

Table

0x23456780

LDR Pseudo Instruction

LDR Pseudo instruction is use for loading a constant into a register. In order to move a 32 bits contestant into a register, The instruction MOV Rd, #value only can move 16 bits to the register Rd, The LDR Pseudo instruction has following format



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.